package com.guzipi.websocketdemo;

import lombok.extern.java.Log;
import lombok.extern.slf4j.Slf4j;
import lombok.extern.slf4j.XSlf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

import java.util.Arrays;

@Slf4j
@SpringBootApplication
public class WebsocketdemoApplication {

	public static void main(String[] args) {
		ConfigurableApplicationContext ctx = SpringApplication.run(WebsocketdemoApplication.class, args);
		System.out.println("============组件列表=================");
		for( String item : ctx.getBeanDefinitionNames())
		{
			log.info(item);
		}
		System.out.println("============组件列表=================");
	}

}
